# CMake Functions Path
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/libs)

find_package(PkgConfig)
pkg_check_modules(
    GST
    gstreamer-1.0>=1.14
    gstreamer-video-1.0>=1.14
    gstreamer-gl-1.0>=1.14
)

if (GST_FOUND)
    include_directories(
        ${GST_INCLUDE_DIRS}
    )
    include(qmlglsink)
endif()
